package com.yxw.live_vod_boot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author fangmaoxin
 * &#064;date  2023年11月21日
 */
@Data
@TableName("yx_follow")
@ApiModel("关注表实体类")
public class YxFollowEntity implements Serializable {
    private static final long serialVersionUID = -1L;

    @TableId(value = "follow_id", type = IdType.AUTO)
    @ApiModelProperty("关注ID")
    private Long followId;

    @TableField("follower_id")
    @ApiModelProperty("关注者ID")
    private Long followerId;

    @TableField("follower_type")
    @ApiModelProperty("关注者类型 0=店铺 1=用户 2=其他")
    private Integer followerType;

    @TableField("follower_shop_id")
    @ApiModelProperty("关注者的店铺ID")
    private Long followerShopId;

    @TableField("followee_id")
    @ApiModelProperty("被关注者ID")
    private Long followeeId;

    @TableField("followee_type")
    @ApiModelProperty("被关注者类型 0=店铺 1=用户 2=其他")
    private Integer followeeType;

    @TableField("followee_shop_id")
    @ApiModelProperty("被关注的店铺ID")
    private Long followeeShopId;

    @TableField("follow_time")
    @ApiModelProperty("关注时间")
    private Date followTime;

    @TableField("follow_status")
    @ApiModelProperty("关注状态，0表示已关注，1表示取消关注")
    private Integer followStatus;

    @TableField("follow_scene")
    @ApiModelProperty("关注场景，0:点播 1:直播 2:主页 3:其他")
    private Integer followScene;

    @TableField("create_time")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @TableField("update_time")
    @ApiModelProperty("更新时间")
    private Date updateTime;

    @TableField("remark")
    @ApiModelProperty("备注")
    private String remark;
}